import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入注册全局组件的插件
import componentsPlugin from '@/components/index.js'
// 导入重置浏览器默认样式
import 'normalize.css'
// 导入自己写的全局公共样式
import '@/styles/common.less'
// 导入全局指令插件
import directivesPlugin from '@/directives'

createApp(App).use(store).use(router).use(componentsPlugin).use(directivesPlugin).mount('#app')
